package com.bootdo.change.service;


import java.util.Date;
import java.util.List;
import java.util.Map;

import com.bootdo.change.entity.ChangeTask;

/**
 * 
 * 
 * @author chglee
 * @email 1992lcg@163.com
 * @date 2018-04-27 17:30:16
 */
public interface ChangeTaskService {
	
	ChangeTask get(String id);
	
	List<ChangeTask> list(Map<String, Object> map);
	
	int count(Map<String, Object> map);
	
	int save(ChangeTask tChangeTask);
	
	int update(ChangeTask tChangeTask);
	
	int remove(Integer id);
	
	int batchRemove(Integer[] ids);

	ChangeTask getOne(Long roleId);

	void updateOne(Date date,Long id);

	ChangeTask selectOne(Long providerId,Long orderId);

	ChangeTask selectAll(Long roleId,Long orderId);

	ChangeTask selectOver(Long roleId);

	ChangeTask getNew(Long roleId);

	ChangeTask haveTask(Long roleId);

	ChangeTask selectByOne();

	

	

	
}
